import { createWebHistory, createRouter } from "vue-router";

const router = createRouter({
    routes: [
        {
            path: "/",
            component: () => import("../views/index.vue"),
            meta: {
                title: "应用页"
            }
        },
        {
            path: "/login",
            component: ()=>import("@/views/login/phoneLogin.vue")
        },
        {
            path: "/passLogin",
            component: ()=>import("@/views/login/passLogin.vue")
        },
        {
            path: "/my",
            component: ()=>import("@/views/my/index.vue")
        }
    ],
    history: createWebHistory()
});

export default router